package dao;

import model.BookingDTO;
import model.UserDTO;
import java.util.ArrayList;
import java.util.Date;

public interface BookingDAO {

	 public void insertBooking(BookingDTO booking ) throws DAOException;
	 public void updateBooking(BookingDTO booking) throws DAOException;
	 public void deleteBooking(BookingDTO booking) throws DAOException;
	 public ArrayList<BookingDTO> findAllBookingByUser (UserDTO user) throws DAOException;
	 public ArrayList<BookingDTO> findBookingByUserAndStatus(UserDTO user) throws DAOException;
	 public ArrayList<BookingDTO> findCurrentBooking()throws DAOException;
	 public void approveReject(BookingDTO booking) throws DAOException;
	 public ArrayList<BookingDTO> findAllBookingbyMonth(Date date) throws DAOException;
	 public ArrayList<BookingDTO> findAllBooking() throws DAOException;
	 public BookingDTO getBooking(int bookID) throws DAOException;
	 public void cancelBooking (BookingDTO booking) throws DAOException;
	 public ArrayList<BookingDTO> FindBookingByStatus(int managerID) throws DAOException;
	 public ArrayList<BookingDTO> findBookings(int facilityID) throws DAOException;
}

